package com.xxzb.pack0823.线程同步.强化训练题;

import java.util.Arrays;
import java.util.List;
import java.util.concurrent.Callable;
import java.util.concurrent.ExecutionException;
import java.util.concurrent.FutureTask;

public class ArraySumForThread {
    public static void main(String[] args) {

        //总和375790
        int[] nums1 = {4, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67};
        int[] nums2 = {4, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67};
        int[] nums3 = {4, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67};
        int[] nums4 = {4, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67};
        int[] nums5 = {4, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67};
//        int[] nums6 = {4, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67};
        List<int[]> list = Arrays.asList(nums1, nums2, nums3, nums4, nums5);
        int[][] numArray = {nums1, nums2, nums3, nums4, nums5};
        long start = System.currentTimeMillis();
        long total = 0l;
        //未来任务数组
        FutureTask<Long>[] futureTasks = new FutureTask[5];
        for (int k = 0; k < list.size(); k++) {
            int[] nums = list.get(k);
            futureTasks[k] = new FutureTask<Long>(new Callable<Long>() {
                @Override
                public Long call() throws Exception {
                    long sum = 0l;
                    for (int i = 0; i < nums.length; i++) {
                        sum += nums[i];
                    }
                    return sum;
                }
            });
            new Thread(futureTasks[k]).start();


        }

        try {
            for (int i = 0; i < futureTasks.length; i++) {
                total = total + futureTasks[i].get();
            }
        } catch (InterruptedException e) {
            e.printStackTrace();
        } catch (ExecutionException e) {
            e.printStackTrace();
        }


        long end = System.currentTimeMillis();

        System.out.println("总和:" + total + ",耗时:" + (end - start));
    }
}